This example demonstrates gamma correction — a nonlinear operation used to encode and decode the luminance of each image pixel.
See https://en.wikipedia.org/wiki/Gamma_correction for more information.
The example creates a fractal image in memory and performs gamma correction on it.
The output of the example application is a BMP image with corrected luminance.
This example uses C++11 lambda expressions. Specifying a compiler option such as -std=c++11
or similar might be necessary in order to build the example.
For more information, please refer to the documentation for the compiler you use.
For the most up-to-date system requirements, see the release notes.
image
) to write an image to disk as a BMP file.
image
class.
Read Getting Started with Parallel STL for general instructions on setting up and using Parallel STL.
Use the Makefile to build the example on the command line.
Use the msvs/gamma_correction.sln project file to build the example in the Microsoft* Visual Studio* IDE (Windows* systems only).
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
* Other names and brands may be claimed as the property of others.
© 2017-2019, Intel Corporation